package cn.lutu.lutu.service;

import cn.lutu.lutu.pojo.dto.CartInsertDTO;
import cn.lutu.lutu.pojo.vo.CartVO;

import java.util.List;

/**
 * @date 2023-06-03
 * @author luoyinhan
 * */
public interface CartService {
    int addProductToCart(CartInsertDTO cartInsertDTO,Long id);

    int deleteProduct(Long id);

    List<CartVO> cartList(Long uid);

    List<CartVO> searchByCategoryAndKeyword(Long categoryId, String keyword,Long uid);
}
